#ifndef SPIRAL_1_H
#define SPIRAL_1_H

#include <QtGui>
#include "collisia_control.h"
#include "cash.h"

class SPIRAL_1 : public QGraphicsObject
{

    Q_OBJECT

    QPainterPath *border;
    QPixmap *im;

    QGraphicsItemAnimation *anim_rocket;
    QTimeLine *rocket_time_line;

    COLLISIA_CONTROL *collisia_control;

    int point;

    SOUND_POWER *shot;

public:
    explicit SPIRAL_1(QPoint start, bool left_orientation, SCENE *scene, QTimeLine *global_tl, CASH *cash);

    QRectF boundingRect() const;

    QPainterPath shape() const;

    void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *);

    ~SPIRAL_1();

    int type() const;
    
signals:

    
public slots:

    void Damage_Detected(QPointF a,int d);
    
};

#endif // SPIRAL_1_H
